package com.zf.shuashua.bean;

import android.text.TextUtils;

import androidx.annotation.NonNull;

import java.io.Serializable;

/**
 * 广告数据上报
 */
public class GiftReport implements Serializable {

    public enum EventType {
        day_firstShare("day_first_share"),//每天首次分享
        day_like_video("day_like_video"),//每天视频点赞
        day_watch_video("day_watch_video"),//每天视频观看
        wechat_login("wechat_login"),//绑定微信登录
        app_push("app_push"),//开启通知
        limit_time_login("limit_time_login"),//限时登录
        home_bubble("home_bubble");//首页泡泡

        private String type;

        EventType(String type) {
            if (TextUtils.isEmpty(type)) {
                throw new RuntimeException("Name can not be empty!");
            }
            this.type = type;
        }

        @NonNull
        @Override
        public String toString() {
            return type;
        }
    }

    private EventType event;

    public EventType getEvent() {
        return event;
    }
}